package com.smart.manager.weixin.mp.entities.enums;


import com.smart.common.annotation.DictEnum;
import com.smart.common.entities.constant.TagColor;
import com.smart.common.entities.core.BaseEnum;
import io.ebean.annotation.DbEnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;


/**
 * 接口状态枚举
 *
 * @author Administrator
 * @date 2022/08/07
 */


@Getter
@DictEnum(title = "微信公众号类型")
@AllArgsConstructor
public enum WeixinMpAccountType implements BaseEnum {
    /*** 微信公众号类型*/
    SUBSCRIPTION_ACCOUNT("订阅号", TagColor.ORANGE),
    SERVICE_ACCOUNT_NOT_AUDITED("未审核服务号", TagColor.RED),
    SERVICE_ACCOUNT_AUDITED("已审核服务号", TagColor.GREEN);
    private final String label;

    private final String theme;

    @Override
    @DbEnumValue
    public String getValue() {
        return name();
    }


}
